#include "StdAfx.h"
#include "MaterialInfo.h"

CMaterialInfo::CMaterialInfo(void):
m_strID(L""),
m_strType(L""),
m_strName(L""),
m_strProcess(L""),
m_strIco(L""),
m_strUrl(L""),
m_strVersion(L""),
m_strSize(L""),
m_strMD5(L""),
m_strRemark(L""),
m_strTips(L""),
m_strRegeditKey(L""),
m_strRegeditPath(L""),
m_strRegeditValue(L""),
m_strSetup(L""),
m_strState(L""),
m_strPercentage(L""),
m_strPos(L"")
{
}

CMaterialInfo::~CMaterialInfo(void)
{
}

CMaterialInfo::CMaterialInfo(const CMaterialInfo& info)
{
	m_strID = info.m_strID;
	m_strType = info.m_strType;
	m_strName = info.m_strName;
	m_strProcess = info.m_strProcess;
	m_strIco = info.m_strIco;
	m_strUrl = info.m_strUrl;
	m_strVersion = info.m_strVersion;
	m_strSize = info.m_strSize;
	m_strMD5 = info.m_strMD5;
	m_strRemark = info.m_strRemark;
	m_strTips = info.m_strTips;
	m_strRegeditKey = info.m_strRegeditKey;
	m_strRegeditPath = info.m_strRegeditPath;
	m_strRegeditValue = info.m_strRegeditValue;
	m_strSetup = info.m_strSetup;
	m_strState = info.m_strState;
	m_strPercentage = info.m_strPercentage;
	m_strPos = info.m_strPos;
}

CMaterialInfo& CMaterialInfo::operator=(const CMaterialInfo& info)
{
	if(&info == this)
		return *this;
	m_strID = info.m_strID;
	m_strType = info.m_strType;
	m_strName = info.m_strName;
	m_strProcess = info.m_strProcess;
	m_strIco = info.m_strIco;
	m_strUrl = info.m_strUrl;
	m_strVersion = info.m_strVersion;
	m_strSize = info.m_strSize;
	m_strMD5 = info.m_strMD5;
	m_strRemark = info.m_strRemark;
	m_strTips = info.m_strTips;
	m_strRegeditKey = info.m_strRegeditKey;
	m_strRegeditPath = info.m_strRegeditPath;
	m_strRegeditValue = info.m_strRegeditValue;
	m_strSetup = info.m_strSetup;
	m_strState = info.m_strState;
	m_strPercentage = info.m_strPercentage;
	m_strPos = info.m_strPos;
	return *this;
}